package hy.beans;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
@Component
@ConfigurationProperties(prefix = "p")
@Data
public class Person {

    String name;
    Integer age;
    Date birth;
    boolean married;
    List lists;
    HashMap map;

    @Autowired
    Dog dog;
}
